/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ru.ssau.entities;

import java.util.Date;
import javax.ejb.EJBLocalObject;
import ru.ssau.lib.XMLizable;


public interface MessageLocal extends EJBLocalObject, XMLizable {

    Integer getId();

    String getCaption();

    void setCaption(String caption);

    String getText();

    void setText(String text);

    Integer getUserId();

    void setUserId(Integer userId);

    Integer getThreadId();

    void setThreadId(Integer threadId);

    Date getPostDate();

    void setPostDate(Date postDate);

    String getStringRepresentation();

}
